package com.csdj.course.service.impl;


import com.csdj.course.mapper.CourseMapper;
import com.csdj.course.pojo.Course;
import com.csdj.course.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseServiceImpl implements CourseService {
	@Autowired
	private CourseMapper courseMapper;

	/**
	 * 查询用户全部结果
	 *
	 * @return
	 */
	@Override
	public List<Course> selectAll() {
		return courseMapper.selectAll();
	}

}
